package com.aspose.cells;

class zbon extends zbz {
   zbon(double var1, int var3) {
      this.c(153);
      this.b(2);
      this.c = new byte[2];
      if (var1 > 0.0D) {
         int var4;
         if (var1 > 1.0D) {
            var4 = (int)Math.floor(var1 * 256.0D + (double)var3 + 0.5D);
            System.arraycopy(com.aspose.cells.b.a.zc.a(var4), 0, this.c, 0, 2);
         } else {
            var4 = (int)Math.floor(var1 * (double)(256 + var3) + 0.5D);
            System.arraycopy(com.aspose.cells.b.a.zc.a(var4), 0, this.c, 0, 2);
         }
      }

   }
}
